package cn.stylefeng.guns.modular.bulletin.entity;

import cn.stylefeng.guns.modular.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;


/**
 * IEO
 */
@TableName("com_subscribe")
@Data
@Accessors(chain = true)
public class Subscribe extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    //公布结果
    @TableField(value = "announce_time", fill = FieldFill.INSERT)
    private Date announceTime;
    //开始申购时间
    @TableField(value = "start_subscription_time", fill = FieldFill.INSERT)
    private Date startSubscriptionTime;
    //结束申购时间
    @TableField(value = "end_subscription_time", fill = FieldFill.INSERT)
    private Date endSubscriptionTime;
    //预计上线时间
    @TableField(value = "expected_time_online", fill = FieldFill.INSERT)
    private Date expectedTimeOnline;


    //名称
    @TableField("coin_name")
    private String coinName;

    //名称
    @TableField("remark")
    private String remark;

    //发行价
    @TableField("issue_price")
    private BigDecimal issuePrice;

    @TableField("status")
    private String status;
    //申购币种
    @TableField("subscribe_currency")
    private String subscribeCurrency;
    //描述
    @TableField("project_details")
    private String projectDetails;


}
